# 五角星绘制
import turtle

# 设置绘图窗口
screen = turtle.Screen()
screen.title("五角星")
screen.bgcolor("white")

# 创建海龟对象
t = turtle.Turtle()
t.speed(0)
t.color("yellow")
t.fillcolor("red")

# 绘制五角星
t.begin_fill()
for _ in range(5):
    t.forward(200)
    t.right(144)
t.end_fill()

# 隐藏海龟
t.hideturtle()

# 显示绘图窗口
screen.mainloop()
